﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XbsWebAPI.Application.QueryModel;
using XbsWebAPI.EntityFrameworkCore.Entities;

namespace XbsWebAPI.Application.OrderFinance
{
    /// <summary>
    /// 订单管理
    /// </summary>
    public interface IOrderAppService
    {
        public void InitOrdersFromTest();
        public ResultDto<OrderDetailDto> GetOrderById(Guid orderId);

        /// <summary>
        /// 确认订单
        /// </summary>
        /// <param name="orderId"></param>
        /// <returns></returns>
        Task<ResultDto<string>> ConfirmOrderDetailAsync(Guid orderId);
        ResultDto<PageListDto<ListOrderDetailDto>> GetPagedList(QueryOrderDetail query);
        ResultDto<List<SelectHouseTypeDto>> GetAllOrdersHouseTypes();
    }
}
